package com.example.user.service;


import entity.ServerResponseBody;
import pojo.User;
import pojo.Vehicle;
import vo.CommentVo;
import vo.LoginVo;
import vo.RegisterVo;
import vo.UserInfoVo;

import javax.servlet.http.HttpServletResponse;

/**
 * @BelongsProject: gxcwhd
 * @BelongsPackage: com.example.user.service
 * @Author: huan
 * @CreateTime: 2020-08-14 10:08
 * @Description:
 */
public interface UserService {

    public Integer userRegister(RegisterVo registerVo);

    ServerResponseBody userLogin(LoginVo loginVo, HttpServletResponse response);

    ServerResponseBody getUserInfo(String userId);

    ServerResponseBody getUserDetailInfo(String userId);

    ServerResponseBody changePassword(String userId, LoginVo loginVo);

    ServerResponseBody getUserVehicleInfo(String userId);

    ServerResponseBody getParkingComment(String parkingId);

    ServerResponseBody registerUser(RegisterVo registerVo);

    ServerResponseBody getChildrenComment(String commentId);

    ServerResponseBody changeVehicleInfo(Vehicle vehicle, String userId);

    ServerResponseBody changeUserDetailInfo(UserInfoVo userInfoVo, String userId);

    ServerResponseBody getNoReadByUserId(String userId);

    ServerResponseBody updateCommentStatus(String userId);

    ServerResponseBody replyComment(CommentVo commentVo, String userId);
}
